Week FIFTEEN

Networking and communications

Assignment :

•Design and build a wired &/or wireless network connecting at least two processors.
There are several methods of networking such as :

Serial :

Process of sending data one bit at a time, sequentially, over a communication channel or computer bus.

SPI :

Serial Peripheral Interface (SPI) is a synchronous serial communication interface bus commonly used to send data between microcontrollers and small peripherals such as shift registers, sensors, and SD cards. It uses separate clock and data lines, along with a select line to choose the device you wish to talk to. It is developed by Motorola in the 1980’s.

I2C :

The Inter-integrated Circuit (I2C) Protocol is a protocol intended to allow multiple “slave” digital integrated circuits (“chips”) to communicate with one or more “master” chips. Like the Serial Peripheral Interface (SPI), It is typically used for attaching lower-speed peripheral ICs to processors and microcontrollers in short-distance, intra-board communication

Master Slave Model

.

.
In computer networking, master/slave is a model for a communication protocol in which one device or process (known as the master) controls one or more other devices or processes (known as slaves). Once the master/slave relationship is established, the direction of control is always from the master to the slave(s). The County of Los Angeles, saying the term master/slave may be offensive to some of its residents, has asked equipment manufacturers not to use the term. Some manufacturers prefer the term primary/secondary.

What I did :

I used one master board and two slaves.
This is the Schematic of my Master board , which is inspired from Neil’s board.
.

.

. . .

And this is my board and you can notice that I draw my routs manually to enlarge the soldering area and making it easy to solder and enlarge the routs and separated them as much as possible so I will avoid any rout loss in the milling process and I can easily mill deeper to avoid shorts and it worked very will for me.
.

.

. .

.

Here is my slave boards schematic view
.

.

And this is the board view which designed using the same method I used in the master board to design it
.

.

And here are the boards after milling and soldring and you can notice that I rubbed off the copper manually using knife in the critical soldering area to avoid shorts.
.

Here is the code for the master board
.

.

And this is the code for the slaves boards
.

.

finally this is the code in action

files


Download Master brd file here

Download Master sch file here

Download slave brd file here

Download slave sch file here


Previous Page Home Next Page